package com.xcjh.dto.message;

import java.util.Date;

public class BaseMessageDto {

    public static final String TYPE_STRANGER="stranger";//类型:陌生人消息
    public static final String TYPE_POINT="point";//类型:熟人点对点私聊消息
    public static final String TYPE_FANS="fans";//粉丝消息


    Long userId;//通知的用户
    String type;//消息类型
    Date time;//消息时间
    Long fromUserId;//哪个用户发起的消息

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Long getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(Long fromUserId) {
        this.fromUserId = fromUserId;
    }
}
